package com.edu.his.service.impl;

import com.edu.his.domain.DrugInfo;
import com.edu.his.mapper.DrugInfoMapper;
import com.edu.his.service.DrugInfoService;
import com.edu.his.util.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * 描述：
 * 创建人：飘
 * 创建时间：2024/12/16
 **/
@Service
public class DrugInfoServiceImpl implements DrugInfoService{

    @Autowired
    private DrugInfoMapper drugInfoMapper;

    @Override
    public R selectDrug(DrugInfo drugInfo) {
        return R.success(200,"查询成功",this.drugInfoMapper.select(drugInfo));
    }
}
